package com.lsk.game.helper;

import com.lsk.game.model.Game;
import com.lsk.game.redis.Redis;

import java.util.HashMap;
import java.util.Map;

public class GameHelper {
	private static Map<String, Game> games = new HashMap<>();
	public static void newGame(String gameID){
		Game game = new Game();
		games.put(gameID,game);
	}
	public static Game getGame(String gameID){
		return games.get(gameID);
	}
}
